package com.woniu.model.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 胡歌
 * @since 2024年05月28日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("y_league_class_detail")
public class YLeagueClassDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 开始时间
     */
    @TableField("start_time")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @TableField("end_time")
    private LocalDateTime endTime;

    /**
     * 教练id
     */
    @TableField("coach_id")
    private Integer coachId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 用户团课余量id
     */
    @TableField("user_league_class_margin_id")
    private Integer userLeagueClassMarginId;

    /**
     * 0已取消1已完成2未完成
     */
    @TableField("league_class_state")
    private Integer leagueClassState;

    /**
     * 团课id
     */
    @TableField("league_class_id")
    private Integer leagueClassId;

    /**
     * 团课排班班次
     */
    @TableField("league_class_workforce_id")
    private Integer leagueClassWorkforceId;


}
